Sum of digits of number using iteration in Python